package com.ym.medical.domain.vo;

import com.ym.medical.domain.entity.EdBodyGuidEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class EdBodyGuidWithBLOBs implements Serializable {
    private Long id;
    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sortId;

    /**
     * 图标
     */
    @ApiModelProperty("图标")
    private String icon;

    /**
     * 唯一ID
     */
    @ApiModelProperty("唯一ID")
    private String uuid;

    /**
     * 性别
     */
    @ApiModelProperty("性别")
    private String sex;

    /**
     * 部位
     */
    @ApiModelProperty("部位")
    private String position;

    /**
     * 症状
     */
    @ApiModelProperty("症状")
    private String symptom;



    @ApiModelProperty(notes = "")
    @Size(max = 2147483647 , message = "长度必须在{min}和{max}之间",groups = {Add.class,Update.class})
    private String content;

    @ApiModelProperty(notes = "")
    @Size(max = 2147483647 , message = "长度必须在{min}和{max}之间",groups = {Add.class,Update.class})
    private String reason;

    @ApiModelProperty(notes = "")
    @Size(max = 2147483647 , message = "长度必须在{min}和{max}之间",groups = {Add.class,Update.class})
    private String diagnosis;

    @ApiModelProperty(notes = "")
    @Size(max = 2147483647 , message = "长度必须在{min}和{max}之间",groups = {Add.class,Update.class})
    private String treat;
    public interface  Add{}

    public interface  Update{}


}